//
//  UIFont+NewFont.h
//  WeiNingProject
//
//  Created by tianjians on 2018/10/12.
//  Copyright © 2018年 卫宁数据. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <objc/runtime.h>
#define IPHONE_5 ([[UIScreen mainScreen] bounds].size.height == 568.0f)
#define IPHONE_6 ([[UIScreen mainScreen] bounds].size.height == 667.0f)
#define IPHONE_6_PLUS ([[UIScreen mainScreen] bounds].size.height == 736.0f)
#define IPHONE_X ([[UIScreen mainScreen] bounds].size.height == 812.0f)

@interface UIFont (NewFont)

//+(UIFont *)adjustFont:(CGFloat)fontSize;

+(UIFont *)newFontSize:(CGFloat)fontSize fontName:(NSString *)name;

+(UIFont *)newFontSize:(CGFloat)size Weight:(UIFontWeight)weight;

@end
